package com.lin.missyou.dto;


import com.lin.missyou.core.enumeration.LoginType;
import com.lin.missyou.dto.validators.TokenPassword;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class TokenGetDTO {
    @NotBlank(message = "{token.account}")
    private String account;
    @TokenPassword(min=6,max=30,message="{token.password}")
    private String password;
    private LoginType logintype;
}
